<template>
	<div>
		<div class="he">
			<p>{{name}}</p>
			<div class="price">
				<p>规格</p>
				<span v-for="(aaa,index) in aaa.specfoods" :key='index'>￥{{aaa.price}}</span>
				<span></span>
			</div>
		</div>
	</div>
</template>

<script>
	export default{
		data:function () {
			return{
				datas:[]
			}
		},
		created() {
			this.$axios({
				url:'https://elm.cangdu.org/shopping/v2/menu?restaurant_id=' + this.$route.query.id',
				method:'get'
			}).then(res=>{
				this.datas = res.data;
				window.console.log(res.data);
			})
		}
	}
</script>

<style>
</style>
